toggle menu
JxBrowser
8.0.0-eap.4
jvm
switch theme
search in API
JxBrowser
/
com.teamdev.jxbrowser.cookie
/
[jvm]Cookie
Cookie
interface
Cookie
An HTTP cookie.
Members
Types
Builder
Link copied to clipboard
class
Builder
A builder of
Cookie
.
Functions
creation
Time
Link copied to clipboard
open
fun
creationTime
(
)
:
Timestamp
Returns the cookie creation time since UNIX epoch.
domain
Link copied to clipboard
open
fun
domain
(
)
:
String
Returns a string that represents the domain name of this cookie or an empty string if the domain name for this cookie is not specified.
expiration
Time
Link copied to clipboard
open
fun
expirationTime
(
)
:
Timestamp
Returns the cookie expiration time since UNIX epoch.
is
Http
Only
Link copied to clipboard
open
fun
isHttpOnly
(
)
:
Boolean
Returns
true
if the cookie is considered HTTP only.
is
Secure
Link copied to clipboard
open
fun
isSecure
(
)
:
Boolean
Returns
true
if the cookie is restricted to a secure protocol (HTTPS or WSS) or
false
if it can be sent using any protocol.
name
Link copied to clipboard
open
fun
name
(
)
:
String
Returns a string that represents the name of this cookie.
new
Builder
Link copied to clipboard
open
fun
newBuilder
(
domain
:
String
)
:
Cookie.Builder
Creates a new
Cookie
builder.
path
Link copied to clipboard
open
fun
path
(
)
:
String
Returns a string that represents the path that must exist in the URL of a request in order to send this cookie to the server.
same
Site
Link copied to clipboard
open
fun
sameSite
(
)
:
SameSite
Returns the SameSite cookie attribute value.
value
Link copied to clipboard
open
fun
value
(
)
:
String
Returns a string that represents the value of this cookie or an empty string if the cookie value is not specified.